package com.cookiesoft.product.domain;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.cookiesoft.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cookiesoft.common.annotation.Excel;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 商品，存储商品信息及库存对象 zhen_products
 *
 * @author anc
 * @date 2024-11-05
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(resultMap = "com.cookiesoft.product.mapper.ZhenProductsMapper.ZhenProductsResult")
public class ZhenProducts extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 商品ID
     */
    private Long productId;

    /**
     * 商品名称
     */
    @Excel(name = "商品名称")
    private String productName;

    /**
     * 关联的游戏账号ID
     */
    @Excel(name = "关联的游戏账号ID")
    private Long acconutId;

    /**
     * 商品价格
     */
    @Excel(name = "商品价格")
    private BigDecimal price;

    /**
     * 商品描述
     */
    @Excel(name = "商品描述")
    private String description;
    @TableField(exist = false)
    private String accountName;
}
